package cn.itsource.blog.mapper;

import cn.itsource.blog.domain.ArticleType;
import cn.itsource.query.BaseQuery;

import java.util.List;

public interface ArticleTypeMapper {
    void save(ArticleType articleType);

    void update(ArticleType articleType);

    void delete(Long id);

    ArticleType get(Long id);

    List<ArticleType> getAllByQuery(BaseQuery userQuery);

    void batchDelete(List<ArticleType> users);

    List<ArticleType> getAll();

}
